Total Complexity | 60 |
Dependencies | 1 |
Dependents | 4 |
Total lines | 397 |
Lines of code | 156 |
Logical lines of code | 75 |
Comment lines | 158 |
Methods | 26 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
fromString() | 50 | 8 | 27 | |
validate() | 54 | 8 | 23 | |
__toString() | 58 | 8 | 13 | |
matchesPath() | 60 | 5 | 13 | |
__construct() | 65 | 5 | 8 | |
matchesDomain() | 62 | 4 | 10 | |
setExpires() | 72 | 2 | 5 | |
isExpired() | 78 | 2 | 3 | |
toArray() | 82 | 1 | 3 | |
getName() | 80 | 1 | 3 | |
setName() | 80 | 1 | 3 | |
getValue() | 80 | 1 | 3 | |
setValue() | 80 | 1 | 3 | |
getDomain() | 80 | 1 | 3 | |
setDomain() | 80 | 1 | 3 | |
getPath() | 80 | 1 | 3 | |
setPath() | 80 | 1 | 3 | |
getMaxAge() | 80 | 1 | 3 | |
setMaxAge() | 80 | 1 | 3 | |
getExpires() | 80 | 1 | 3 | |
getSecure() | 80 | 1 | 3 | |
setSecure() | 80 | 1 | 3 | |
getDiscard() | 80 | 1 | 3 | |
setDiscard() | 80 | 1 | 3 | |
getHttpOnly() | 80 | 1 | 3 | |
setHttpOnly() | 80 | 1 | 3 |